package com.bone.payment.po;

import java.io.Serializable;
import java.util.Date;

/**
 * 支付退款明细.
 * @author liwenzhan
 *
 */
public class PayPaymentRefundment implements Serializable{
	
	 
	/**
	 * 
	 */
	private static final long serialVersionUID = 3747428757756251083L;
	/**
	 * 
	 */
	private Long payRefundmentId;
	/**
	 * 
	 */
	private Long paymentId;
	
	private Long objectId;
	
	private String objectType;
	/**
	 * 退款金额.
	 */
	private Long amount;
	/**
	 * 退款状态.
	 */
	private String status;
	/**
	 * 通知状态.
	 */
	private String notified;
	/**
	 * 发出去的流水号 退款流水号(10位 订单号+ 9 +支付次数).
	 */
	private String serial;
	/**
	 * 创建时间.
	 */
	private Date createTime;
	/**
	 * 返回时间. 
	 */
	private Date callbackTime;
	/**
	 * 返回信息.
	 */
	private String callbackInfo;
	/**
	 * 是否自动退款.
	 */
	private String isAuto;
	/**
	 * 退款银行.
	 */
	private String gateway;
	
	private String operator;
	
	public boolean isSuccess(){
		return true;
	}
	
	
	public Long getPayRefundmentId() {
		return payRefundmentId;
	}
	public void setPayRefundmentId(Long payRefundmentId) {
		this.payRefundmentId = payRefundmentId;
	}
	public Long getPaymentId() {
		return paymentId;
	}
	public void setPaymentId(Long paymentId) {
		this.paymentId = paymentId;
	}
	
	public Long getObjectId() {
		return objectId;
	}


	public void setObjectId(Long objectId) {
		this.objectId = objectId;
	}


	public String getObjectType() {
		return objectType;
	}


	public void setObjectType(String objectType) {
		this.objectType = objectType;
	}


	public Long getAmount() {
		return amount;
	}
	public void setAmount(Long amount) {
		this.amount = amount;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getNotified() {
		return notified;
	}
	public void setNotified(String notified) {
		this.notified = notified;
	}
	public String getSerial() {
		return serial;
	}
	public void setSerial(String serial) {
		this.serial = serial;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getCallbackTime() {
		return callbackTime;
	}
	public void setCallbackTime(Date callbackTime) {
		this.callbackTime = callbackTime;
	}
	public String getCallbackInfo() {
		return callbackInfo;
	}
	public void setCallbackInfo(String callbackInfo) {
		this.callbackInfo = callbackInfo;
	}
    /**
     * 获取是否自动退款.
     * @return
     */
	public String getIsAuto() {
		return isAuto;
	}
    /**
     * 设置是否自动退款.
     * @param isAuto
     */
	public void setIsAuto(String isAuto) {
		this.isAuto = isAuto;
	}


	public String getOperator() {
		return operator;
	}


	public void setOperator(String operator) {
		this.operator = operator;
	}


	public String getGateway() {
		return gateway;
	}


	public void setGateway(String gateway) {
		this.gateway = gateway;
	}
	
}
